package  service.inter;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import  entity.Product;

public interface IProductService {
	public Product save(Product product);
	
	public boolean update(Product product);
	
	public boolean delete(String rowid);
	
	public Product queryById(String rowid);
	
	public Map updateProduct(Product product);
	
	public Map deleteProducts(String rowid);
	
	public Map addProduct(Product product,HttpServletRequest request);
	
	public Map query(String rowid);
	
	public Map query(String start,String limit);
	
	public List<Product> queryByName(String name);
	
}
